package com.yunxi.sys.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.sys.pojo.AttachVO;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-05-07
 */
public interface AttachDubboService {

    AttachVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(AttachVO sysAttachVo) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    List<AttachVO> findAll(String pageNum, String pageSize) throws InvocationTargetException, IllegalAccessException;

    PageInfo<AttachVO> findPageByVO(AttachVO attachVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    List listByVo(AttachVO sysAttachVO);

    void removeByListVo(List<AttachVO> sysAttachVoList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

   void save(List<AttachVO> attachVOList) throws Exception;

    void saveByAttachVoList(List<AttachVO> attachVOList, String pms_partner, String applyId, LoginInfo loginInfo);

   void delByBusSubId(String busId,String partnerCode);
}
